LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

LOCAL_ARM_MODE := arm
OPTS :=
#OPTS := -O3 -ffast-math

LOCAL_LDFLAGS := -Wl,-Map,app.map

LOCAL_C_INCLUDES := \
	$(LOCAL_PATH) \
	$(LOCAL_PATH)/resource/zip \
	$(LOCAL_PATH)/pictureformat/libpng \
	$(ZLIB_INCLUDE) \
	$(TT_FT_INCLUDE) \
	$(TT_INCLUDE) \
	$(XML2_INCLUDE)


LOCAL_CFLAGS := -fexceptions $(OPTS)

LOCAL_MODULE := liba-library

LOCAL_SRC_FILES := \
	animate/Animation.cpp \
	animate/AtomPath.cpp \
	animate/Command.cpp \
	animate/Commands.cpp \
	animate/Envelope.cpp \
	animate/Key.cpp \
	animate/Node_animate.cpp \
	animate/PrimitiveAnimationBase.cpp \
	animate/Soul.cpp \
	filesystem/File.cpp \
	filesystem/android/Finder.cpp \
	filesystem/android/String_filesystem.cpp \
	font/Proportional_font.cpp \
	font/GenericFont.cpp \
	font/TrueType.cpp \
	input/Event_input.cpp \
	input/ForceEffect_input.cpp \
	input/Listener_input.cpp \
	input/Manager_input.cpp \
	input/hard/macx/Creator_input_hard_macx.cpp \
	input/hard/macx/Keyboard_input_hard_macx.cpp \
	input/hard/macx/Mouse_input_hard_macx.cpp \
	logs/File_log.cpp \
	logs/Log_log.cpp \
	math/Box.cpp \
	math/Frustrum.cpp \
	math/HalfSpace.cpp \
	math/Sphere.cpp \
	noise/MusicChangerAndroid_noise.cpp \
	noise/Manager_noise.cpp \
	noise/DataSourceWaveFile.cpp \
	noise/DataSourceXM.cpp \
	noise/ImmortalChannel.cpp \
	noise/PCMConvert_noise.cpp \
	noise/hard/Hardware_noise_hard.cpp \
	noise/hard/Channel_noise_hard.cpp \
	noise/hard/null/Creator_noise_hard_null.cpp \
	noise/hard/Android/Channel_noise_hard_android.cpp \
	noise/hard/Android/Creator_noise_hard_android.cpp \
	noise/hard/Android/Hardware_noise_hard_android.cpp \
	noise/xm/Envelope.cpp  \
	noise/xm/EnvelopeBuilder.cpp \
	noise/xm/Pattern.cpp \
	noise/xm/RunningEnvelope.cpp \
	noise/xm/XMChannel.cpp \
	noise/xm/XMInstrument.cpp \
	noise/xm/XMPlayer.cpp \
	noise3d/node/SoundListener.cpp \
	noise3d/node/SoundSource.cpp \
	pictureformat/CPVRTCDecompress.cpp \
	pictureformat/DecompressorBmp.cpp \
	pictureformat/DecompressorGif.cpp \
	pictureformat/DecompressorJpeg.cpp \
	pictureformat/DecompressorPNG.cpp \
	pictureformat/DecompressorPPM.cpp \
	pictureformat/Loader_PictureFormat.cpp \
	pictureformat/jpeglib/jarrsrc.c \
	pictureformat/jpeglib/jcapimin.c \
	pictureformat/jpeglib/jcapistd.c \
	pictureformat/jpeglib/jccoefct.c \
	pictureformat/jpeglib/jccolor.c \
	pictureformat/jpeglib/jcdctmgr.c \
	pictureformat/jpeglib/jchuff.c \
	pictureformat/jpeglib/jcinit.c \
	pictureformat/jpeglib/jcmainct.c \
	pictureformat/jpeglib/jcmarker.c \
	pictureformat/jpeglib/jcmaster.c \
	pictureformat/jpeglib/jcomapi.c \
	pictureformat/jpeglib/jcparam.c \
	pictureformat/jpeglib/jcphuff.c \
	pictureformat/jpeglib/jctrans.c \
	pictureformat/jpeglib/jdapimin.c \
	pictureformat/jpeglib/jdapistd.c \
	pictureformat/jpeglib/jdatadst.c \
	pictureformat/jpeglib/jdatasrc.c \
	pictureformat/jpeglib/jdcoefct.c \
	pictureformat/jpeglib/jdcolor.c \
	pictureformat/jpeglib/jddctmgr.c \
	pictureformat/jpeglib/jdhuff.c \
	pictureformat/jpeglib/jdinput.c \
	pictureformat/jpeglib/jdmainct.c \
	pictureformat/jpeglib/jdmarker.c \
	pictureformat/jpeglib/jdmaster.c \
	pictureformat/jpeglib/jdmerge.c \
	pictureformat/jpeglib/jdphuff.c \
	pictureformat/jpeglib/jdpostct.c \
	pictureformat/jpeglib/jdsample.c \
	pictureformat/jpeglib/jdtrans.c \
	pictureformat/jpeglib/jerror.c \
	pictureformat/jpeglib/jfdctflt.c \
	pictureformat/jpeglib/jfdctfst.c \
	pictureformat/jpeglib/jfdctint.c \
	pictureformat/jpeglib/jidctflt.c \
	pictureformat/jpeglib/jidctfst.c \
	pictureformat/jpeglib/jidctred.c \
	pictureformat/jpeglib/jmemmgr.c \
	pictureformat/jpeglib/jmemnobs.c \
	pictureformat/jpeglib/jquant1.c \
	pictureformat/jpeglib/jquant2.c \
	pictureformat/jpeglib/jutils.c \
	pictureformat/jpeglib/jcprepct.c \
	pictureformat/jpeglib/jcsample.c \
	pictureformat/jpeglib/jidctint.c \
	pictureformat/libpng/png.c \
	pictureformat/libpng/pngerror.c \
	pictureformat/libpng/pngget.c \
	pictureformat/libpng/pngmem.c \
	pictureformat/libpng/pngpread.c \
	pictureformat/libpng/pngread.c \
	pictureformat/libpng/pngrio.c \
	pictureformat/libpng/pngrtran.c \
	pictureformat/libpng/pngrutil.c \
	pictureformat/libpng/pngset.c \
	pictureformat/libpng/pngtrans.c \
	pictureformat/libpng/pngwio.c \
	pictureformat/libpng/pngwrite.c \
	pictureformat/libpng/pngwtran.c \
	pictureformat/libpng/pngwutil.c \
	resource/ActiveMultithreaded.cpp \
	resource/File_resource.cpp \
	resource/Manager_resource.cpp \
	resource/Memory_resource.cpp \
	resource/Resource_resource.cpp \
	resource/ResourceActive.cpp \
	resource/MultiFileAndroid_resource.cpp \
	resource/zip/mkstemp.c \
	resource/zip/zip_add.c \
	resource/zip/zip_add_dir.c \
	resource/zip/zip_close.c \
	resource/zip/zip_delete.c \
	resource/zip/zip_dirent.c \
	resource/zip/zip_entry_free.c \
	resource/zip/zip_entry_new.c \
	resource/zip/zip_err_str.c \
	resource/zip/zip_error.c \
	resource/zip/zip_error_clear.c \
	resource/zip/zip_error_get.c \
	resource/zip/zip_error_get_sys_type.c \
	resource/zip/zip_error_strerror.c \
	resource/zip/zip_error_to_str.c \
	resource/zip/zip_fclose.c \
	resource/zip/zip_file_error_clear.c \
	resource/zip/zip_file_error_get.c \
	resource/zip/zip_file_get_offset.c \
	resource/zip/zip_file_strerror.c \
	resource/zip/zip_filerange_crc.c \
	resource/zip/zip_fopen.c \
	resource/zip/zip_fopen_index.c \
	resource/zip/zip_fread.c \
	resource/zip/zip_free.c \
	resource/zip/zip_get_archive_comment.c \
	resource/zip/zip_get_archive_flag.c \
	resource/zip/zip_get_file_comment.c \
	resource/zip/zip_get_name.c \
	resource/zip/zip_get_num_files.c \
	resource/zip/zip_memdup.c \
	resource/zip/zip_name_locate.c \
	resource/zip/zip_new.c \
	resource/zip/zip_open.c \
	resource/zip/zip_rename.c \
	resource/zip/zip_replace.c \
	resource/zip/zip_set_archive_comment.c \
	resource/zip/zip_set_archive_flag.c \
	resource/zip/zip_set_file_comment.c \
	resource/zip/zip_set_name.c \
	resource/zip/zip_source_buffer.c \
	resource/zip/zip_source_file.c \
	resource/zip/zip_source_filep.c \
	resource/zip/zip_source_free.c \
	resource/zip/zip_source_function.c \
	resource/zip/zip_source_zip.c \
	resource/zip/zip_stat.c \
	resource/zip/zip_stat_index.c \
	resource/zip/zip_stat_init.c \
	resource/zip/zip_strerror.c \
	resource/zip/zip_unchange.c \
	resource/zip/zip_unchange_all.c \
	resource/zip/zip_unchange_archive.c \
	resource/zip/zip_unchange_data.c \
	system/assert.cpp \
	system/Environment.cpp \
	system/EnvironmentImpl.cpp \
	system/MemoryLeaks.cpp \
	system/StringFunctions.cpp \
	text/Creator.cpp \
	text/Lookup.cpp \
	text/LookupState.cpp \
	textstream/Buffer_textstream.cpp \
	textstream/Empty_textstream.cpp \
	textstream/File_textstream.cpp \
	textstream/String_textstream.cpp \
	textstream/TextStream_textstream.cpp \
	threads/android/lock.cpp \
	threads/android/thread.cpp \
	threads/android/threads.cpp \
	xml/Object_xml.cpp \
	xml/Saver_xml.cpp  \
	xml/SimpleParser.cpp \
	xml/Stream_libxml2.cpp \
	lib3d/anim2d/AbstractSequence.cpp \
	lib3d/anim2d/AnimatedSequences.cpp \
	lib3d/anim2d/FrameTimes.cpp \
	lib3d/anim2d/Sequence.cpp \
	lib3d/anim2d/SpanSequence.cpp \
	lib3d/hard/BlendMode.cpp \
	lib3d/hard/Hardware.cpp \
	lib3d/hard/TextureBase.cpp \
	lib3d/hard/VertexBuffer.cpp \
	lib3d/hard/RenderList.cpp \
	lib3d/hit/HitTester2d.cpp \
	lib3d/hit/Rectangle2dHitTestProvider.cpp \
	lib3d/material/Material.cpp \
	lib3d/material/Shader.cpp \
	lib3d/material/Shaders.cpp \
	lib3d/material/Texture.cpp \
	lib3d/material/TextureAtlas.cpp \
	lib3d/material/TextureFrame.cpp \
	lib3d/material/TextureLoaderNotifier.cpp \
	lib3d/material/TextureSequence.cpp \
	lib3d/material/TextureSimple.cpp \
	lib3d/material/TextureReflection.cpp \
	lib3d/material/TextureRenderTarget.cpp \
	lib3d/node/Animation2D.cpp \
	lib3d/node/Billboard.cpp \
	lib3d/node/Box.cpp \
	lib3d/node/Camera.cpp \
	lib3d/node/CameraCubic.cpp \
	lib3d/node/CameraParallel.cpp \
	lib3d/node/CameraPerspective.cpp \
	lib3d/node/Emitter.cpp \
	lib3d/node/Factory.cpp \
	lib3d/node/Gradient.cpp \
	lib3d/node/Image.cpp \
	lib3d/node/Light.cpp \
	lib3d/node/Model.cpp \
	lib3d/node/ModelFixed.cpp \
	lib3d/node/ModelMorph.cpp \
	lib3d/node/ModelSkeleton.cpp \
	lib3d/node/Node.cpp \
	lib3d/node/NodeBase.cpp \
	lib3d/node/Root.cpp \
	lib3d/node/Sphere.cpp \
	lib3d/node/Sprite.cpp \
	lib3d/node/Text.cpp \
	lib3d/node/TextData.cpp \
	lib3d/node/TextImpl.cpp \
	lib3d/node/Plane.cpp \
	lib3d/node/Plume2D.cpp \
	lib3d/node/PrimitiveObject.cpp \
	lib3d/node/ProportionalTextImpl.cpp \
	lib3d/node/TrueTypeTextImpl.cpp \
	lib3d/model/Model.cpp \
	lib3d/model/ModelInHardware.cpp \
	lib3d/particles/events/AlphaEvent.cpp \
	lib3d/particles/events/ColorEvent.cpp \
	lib3d/particles/events/GravityEvent.cpp \
	lib3d/particles/events/RotationEvent.cpp \
	lib3d/particles/events/SizeEvent.cpp \
	lib3d/particles/events/TorqueEvent.cpp \
	lib3d/particles/events/VelocityEvent.cpp \
	lib3d/particles/Particle.cpp \
	lib3d/particles/ParticleSystem.cpp \
	lib3d/CameraDesc.cpp \
	lib3d/Light_lib3d.cpp \
	lib3d/math_lib3d.cpp \
	lib3d/Precacher_lib3d.cpp \
	lib3d/TrueTextCreator.cpp \
	lib3d/hard/iPhoneGLES/VertexBuffer_lib3d_hard_macx.cpp \
	lib3d/hard/iPhoneGLES/Texture_lib3d_hard_macx.cpp \
	lib3d/hard/iPhoneGLES/IndexBuffer.cpp \
	lib3d/hard/iPhoneGLES/PointBuffer_lib3d_hard_macx.cpp \
	lib3d/hard/iPhoneGLES/Hardware_lib3d_hard_macx.cpp \
	lib3d/hard/iPhoneGLES/Creator_lib3d_hard_macx.cpp \
	Atom.cpp \
	colorpacked.cpp \
	converter.cpp \
	Fps.cpp \
	gluck.cpp \
	Rnd.cpp \
	string.cpp \
	WowPtr.cpp \
	lib3d/Application_lib3d.cpp \
	lib3d/selector/Simple_selector_lib3d.cpp \
	WindowCreatorAndroid.cpp \
	registry/android/registry.cpp \
	ApplicationWindowedAndroid.cpp \


include $(BUILD_STATIC_LIBRARY)
